distplot is a deprecated function and will be removed in a future version

56

`distplot` is a deprecated function and will be removed in a future version -

# Use histplot instead of distplot 
# and add keyword args kde=True, stat="density", linewidth=0 
# So:
sns.histplot(a, color="red", label="100% Equities", kde=True, stat="density", linewidth=0)
# Replaces:
sns.distplot(a, color="red", label="100% Equities")

Comments

Submit
0 Comments